<?php
use app\models\user\gs\UsersBaseGsModel;
/**
 * Created by PhpStorm.
 * User: songs
 * Date: 2020/8/30
 * Time: 15:21
 */

use app\components\ViewHtmlAuto;


    $view=new ViewHtmlAuto;
    $view->setClass=UsersBaseGsModel::class;
    $view->setId='uid';
    $view->fieldList=[
        'com_name'=>[
            'view'=>ViewHtmlAuto::viewText
        ],
        'legal_name'=>[
            'view'=>ViewHtmlAuto::viewText
        ],
        'legal_sex'=>[
            'view'=>ViewHtmlAuto::viewSex
        ],
        'legal_mobile'=>[
            'view'=>ViewHtmlAuto::viewText
        ],
        'com_tel'=>[
            'view'=>ViewHtmlAuto::viewText
        ],
        'comCity'=>[
            'view'=>ViewHtmlAuto::viewText
        ],
        'com_address'=>[
            'view'=>ViewHtmlAuto::viewText
        ],
        'nianxiaoshou'=>[
            'view'=>ViewHtmlAuto::viewText
        ],
        'detail'=>[
            'view'=>ViewHtmlAuto::viewTextarea
        ],
    ];
    $view->out();